cod_display_fade

Syntax

native cod_display_fade(id, duration, holdTime, fadeType, red, green, blue, alpha);

Usage

id
Player index, use 0 to display to all players
fxTime
Duration of the effect in seconds
holdTime
Time the message stays on screen in seconds
fadeType
Display type, available values:
FFADE_IN 0x0000
FFADE_OUT 0x0001
FFADE_MODULATE 0x0002
FFADE_STAYOUT 0x0004
red
Red component of fade color, value 0 to 255
green
Green component of fade color, value 0 to 255
blue
Blue component of fade color, value 0 to 255
alpha
Alpha is fade transparency, value from 0 to 255

Description

Displays screen fade.

Return

This function has no return value.